﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Model.Models.IngredienteModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Ingrediente</legend>

    
    <div class="display-field">
        <%: Html.HiddenFor(model => model.Id_Ingrediente) %>
    </div>

    <div class="display-field">
        <%: Html.HiddenFor(model => model.Id_Empresa) %>
    </div>

    <div class="display-label">Descricao</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Descricao) %>
    </div>
</fieldset>
<% using (Html.BeginForm()) { %>
   <p>
        </p>
            <input type="submit" value="Delete" class="button dark" />
            <input type="button" value="Voltar" class="button dark" onclick="location.href='<%: Url.Action("Index", "Ingrediente") %>'" />

<% } %>

</asp:Content>
